package com.balabala.gym_user.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author 何涛
 * @Date: 2023/05/01/ 13:00
 * @description 会员卡消费记录
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_card_consume_record")
public class CardConsumeRecord {
    private Long id;
    private String name;
    /**
     * 会员卡次数变化
     */
    private String change;
    /**
     * 剩余金额
     */
    private Long amount;
    /**
     * 消费说明
     */
    private String illustrate;
    /**
     * 状态
     */
    private Short status;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 用户会员卡id
     */
    private Long userCardId;
    /**
     * 发生时间
     */
    private Date createTime;
}
